﻿using System;
using BizControl.Library.BusinessObjects.People;
using BizControl.Library.BusinessObjects.Models;
using Csla;

namespace BizControl.Library.Criterias
{
  [Serializable()]
  public class PersonAndModelCriteria : CriteriaBase<PersonAndModelCriteria>
  {
    private PersonBO _person;
    public PersonBO Person
    {
      get { return _person; }
    }

    private ModelBO _model;
    public ModelBO Model
    {
      get { return _model; }
    }

    public PersonAndModelCriteria(PersonBO person, ModelBO model)
    {
      _person = person;
      _model = model;
    }
  }

}
